home *** CD-ROM | disk | FTP | other *** search
- Short: Converttables for any charset (ISO/IBN+)
- Author: kenny@bgnett.no (Kenneth "Kenny" Nilsen)
- Type: dev/misc
- Version: 1.0
-
-
- $VER: ConvertTables 1.0 (16.3.97)
-
- Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
- All rights reserved.
-
-
- This archive companies the DigNet.lha 3.0 library orignally.
-
-
- In this archive you will find convert tables for:
-
- APPLE,DE7,FR7,GE7,IBM,IBMM,IBN,ISO,IT7,NO7,PO7,SF7,SP7,UK7 and US7.
-
- The tables convert one of the charset to all the others in all combinations.
- The table was created using the BBSread library's convert routine from the
- Thor package, but the tables within here was made and are copyrighted (c)
- 1997 by Kenneth "Kenny" Nilsen.
-
- The tables are freely distributable as long as they are not changed.
- The bin files are public domain.
-
- ----------------------------------------------------------------------------
-
- Example on how to read the tables:
-
- FROM TO
- ISO APPLE DE7 FR7 GE7 IBM IBMM IBN IT7 NO7 PO7 SF7 SP7 UK7 US7
- ---------------------------------------------------------------------------
- 164 192 36 36 36 168 207 168 36 36 36 36 36 36 36
-
-
- In the column FROM ISO you will find all ascii numbers from 128-255 as-is.
- (well, ascii standard is only 0-127 therefor you'll need convert tables for
- the numbers above since they are not standard).
-
- If you then want to convert a char from ISO to lets say IBN, you go to the
- column that says IBN. If you then have ISO char 164 it will become 168 when
- converted to IBN.
-
- ----------------------------------------------------------------------------
-
- In the BIN dir you will find files that are 256 bytes in length each. These
- are ready to compile for your program.
-
- Lets say you want to make a program that converts NO7 to IBN; your routine
- would like this in assembler:
-
- Convert lea NO7(pc),a0 ;(char)(d0:8)
- move.b (a0,d0.w),d0
- rts
-
- NO7 incbin "bin/fromNO7toIBN.bin"
-
-
- Converting can of course be done from C as well.
-
-